package com.mzkj.wanjulaile.mobile.api.modules.address.service;

import com.mzkj.wanjulaile.mobile.api.modules.address.entity.Address;

import java.util.List;
import java.util.Map;


public  interface AddressService {

	 Address get(String id);
	
	 List<Address> findList(Address address);
	
	 void save(Address address);

	 void delete(Address address);

	List<Address> getListByAccountId(String accountId);

	Address getDefaultAddress(String accountId);

	 void updateDefault(Map<String, Object> map);
	void setUnDefault(String accountId);

}